//
//  sbuxscrapeViewController.h
//  sbuxscrape
//
//  Created by Scot Shinderman on 7/26/08.
// Copyright 2008 Elliptic. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface sbuxscrapeViewController : UIViewController<UITextFieldDelegate> {
	IBOutlet UITextView*	text_;
	IBOutlet UITextField*	url_;
	IBOutlet UITextField*	username_;
	IBOutlet UITextField*	password_;
	IBOutlet UIScrollView*  scrollview_;
	IBOutlet UIView*        dbgview_;
	IBOutlet UISwitch*      dbgswitch_;
}

@property (nonatomic, retain) UITextField *url_, *username_, *password_;
@property (nonatomic, retain) UITextView  *text_;
@property (nonatomic, retain) UIView  *dbgview_;
@property (nonatomic, retain) UISwitch    *dbgswitch_;
@property (nonatomic, retain) UIScrollView    *scrollview_;

- (IBAction)mailit:(id)sender;
- (IBAction)urlchanged:(id)sender;

-(IBAction)test1;
-(IBAction)test2;
-(IBAction)test3;
-(IBAction)toggleswitch;
-(IBAction) sendmail:(id)sender;

- (BOOL)writeApplicationData:(NSData *)data toFile:(NSString *)fileName;
- (NSData *)applicationDataFromFile:(NSString *)fileName;

@end


